package service.reader;

import entity.Books;
import entity.Pages;

import java.util.List;

public interface BooksService {
    /**
     * 查询书籍信息
     * @param condition
     * @param conditionValue
     * @return
     */
    List<Books> getList(String condition, String conditionValue, Pages<Books> pages);

    /**
     * 查询总数
     * @return
     */
    int pageCount(String condition, String conditionValue);
}
